projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c0675a
)
Construct a thread_event only if THREADS_ENABLED
author
Michael Albinus
<michael.albinus@gmx.de>
Fri, 31 Aug 2018 07:04:13 +0000
(09:04 +0200)
committer
Michael Albinus
<michael.albinus@gmx.de>
Fri, 31 Aug 2018 07:04:13 +0000
(09:04 +0200)
* src/thread.c (Fthread_signal): Construct a thread_event only if
THREADS_ENABLED.
src/thread.c
patch
|
blob
|
history
diff --git
a/src/thread.c
b/src/thread.c
index 78cb21619934cb7a8dada3195f4d06f0f8802fb3..081569f8a38c72c7103baf4577b267d8f84c9138 100644
(file)
--- a/
src/thread.c
+++ b/
src/thread.c
@@
-875,6
+875,7
@@
If THREAD is the main thread, just the error message is shown. */)
if (tstate == current_thread)
Fsignal (error_symbol, data);
+#ifdef THREADS_ENABLED
if (main_thread_p (tstate))
{
/* Construct an event. */
@@
-889,6
+890,7
@@
If THREAD is the main thread, just the error message is shown. */)
}
else
+#endif
{
/* What to do if thread is already signaled? */
/* What if error_symbol is Qnil? */